﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Access.PowerTools.Utilities
{
    public class Dialogs
    {
        public static void ShowInfoMessage(string message)
        {
            MessageBox.Show(message,
                Globals.MESSAGE_CAPTION, MessageBoxButtons.OK,
                MessageBoxIcon.Information);
        }

        public static void ShowWarningMessage(string message)
        {
            MessageBox.Show(message,
                Globals.MESSAGE_CAPTION, MessageBoxButtons.OK,
                MessageBoxIcon.Warning);
        }

        public static void ShowErrorMessage(string message)
        {
            MessageBox.Show(message,
                Globals.MESSAGE_CAPTION, MessageBoxButtons.OK,
                MessageBoxIcon.Error);
        }
    }
}
